<!DOCTYPE html>
<html>
<head>
    <title>用户详情</title>
		<#include "/header.html">
    <script src="${request.contextPath}/statics/plugins/ztree/jquery.ztree.core.js"></script>
    <script src="${request.contextPath}/statics/plugins/ztree/jquery.ztree.exhide.js"></script>
    <script src="${request.contextPath}/statics/plugins/ztree/fuzzysearch.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div class="col-sm-2">
                <select v-model="q.key" class="form-control" name="selQueryKey" id="selQueryKey">
                    <option value="">查询条件</option>
                    <option :value="list.code" v-for="(list,index) in searchKeyDictInfo" :key="index">{{ list.value }}</option>
                </select>
            </div>
            <div class="col-sm-2"  style="padding-left:5px;padding-right:0px;">
                <input type="text" class="form-control" v-model="q.value" @keyup.enter="query" placeholder="输入查询内容">
                <a id="inputClear" class="glyphicon glyphicon-remove btn form-control-feedback" style="pointer-events: auto;"></a>
            </div>
            <a class="btn btn-primary" @click="query" style="margin-left:10px;"><i class="fa fa-search"></i>&nbsp;查询</a>

			<#if shiro.hasPermission("water:vaccountmanage:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("water:vaccountmanage:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;详情</a>
			</#if>
			<#if shiro.hasPermission("water:vaccountmanage:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
            <#if shiro.hasPermission("water:vaccountmanage:list")>
            <a class="btn btn-primary" @click="outxls"><i class="fa fa-download"></i>&nbsp;导出</a>
            </#if>
        </div>
        <div id="content" class="row-fluid" >
            <div class="col-md-12">
                <table id="jqGrid"></table>
                <div id="jqGridPager"></div>

                <div v-show="showChild">
                    <table id="jqChildGrid"></table>
                    <div id="jqChildGridPager"></div>
                </div>
            </div>
        </div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">区域</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.areaName" placeholder="区域"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">城市</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.cityName" placeholder="城市"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">坐标x</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.mapX" placeholder="坐标x"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">坐标y</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.mapY" placeholder="坐标y"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">设备数量</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.deviceCount" placeholder="设备数量"/>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-2 control-label">电话</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.phone" placeholder="电话"/>
                </div>
            </div>
            <!--
            <div class="form-group">
                <div class="col-sm-2 control-label">类型</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.modeName" placeholder="类型"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">备注</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.memo" placeholder="memo"/>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-2 control-label">之前数据</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.beforedata"
                           placeholder="beforedata"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">之后数据</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.afterdata" placeholder="afterdata"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">之前总量</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.beforetotaldata"
                           placeholder="beforetotaldata"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">之后总量</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.aftertotaldata"
                           placeholder="aftertotaldata"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">故障数</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.faultcount"
                           placeholder="faultcount"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">水所</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.unitNameW" placeholder="unitNameW"/>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-2 control-label">气所</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.unitNameG" placeholder="unitNameG"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">区域码</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.areaId" placeholder="areaId"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">水所码</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.unitNameWId"
                           placeholder="unitNameWId"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">城市码</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.cityId" placeholder="cityId"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">气所码</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.unitNameGId"
                           placeholder="unitNameGId"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">模式码</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.modeId" placeholder="modeId"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">异常</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="vaccountmanage.abnormal" placeholder="abnormal"/>
                </div>
            </div>
            -->
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <!--<input type="button" class="btn btn-primary" id="btnSaveOrUpdate" data-loading-text="保存中..."
                @click="saveOrUpdate" value="确定"/>-->
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/waterfgs/vaccountmanagefgs.js?_${.now?long}"></script>
</body>
</html>